﻿[assembly: System.Web.UI.WebResource("BM.Tools.WebControls.MForm.Controls.Additions.Actions.Action.js", "application/x-javascript")]
[assembly: System.Web.UI.WebResource("BM.Tools.WebControls.MForm.Controls.Additions.Actions.Action.debug.js", "application/x-javascript")]

namespace BM.Tools.WebControls.MForm.Controls.Additions.Actions
{
    using AjaxControlToolkit;

    /// <summary>
    /// An action that will be performed on the dependant element, when the determinant's element condition is matched.
    /// </summary>
    [ClientScriptResource("BM.Tools.WebControls.MForm", "BM.Tools.WebControls.MForm.Controls.Additions.Actions.Action.js")]
    public abstract class Action
    {
        /// <summary>
        /// Gets the Javascript type name.
        /// </summary>
        public virtual string JsType
        {
            get
            {
                return "BM." + GetType().Name;
            }
        }
    }
}
